<?php
/**
 * Created by PhpStorm.
 * User: sunzexin
 * Date: 2018/1/10
 * Time: 09:51
 */

namespace App;


use Illuminate\Database\Eloquent\Model;

class Admin extends Model
{
    //指定表名
    protected $table='admin';
    // 开启自动时间戳
    public $timestamps = true;
    // 日期都存储为时间戳
    protected $dateFormat = 'U';
}